package com.ruoyi.repay.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("repayment_plan")
public class RepaymentPlan {
    private Integer id;
    private String code;
//    每月还款金额
    private String repaymentPrice;
//    每月还款日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate repaymentDate;
//    申请贷款表标示
    private String applyForLoanCode;
//    创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
//    修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
//    是否删除
    private Integer isDeleted;
//    审核是否通过
    private Integer isStatus;
//    关联用户表标识
    private String userInfoCode;
//    当前月还款状态（ 0已还款 1未还款）
    private Integer types;
//    还款订单编号
    private String outTradeNo;

    private String name;
}
